﻿using System;
using System.Windows;
using System.Security.Principal;

namespace AuthorizedNavigation.Client
{
    public interface IAuthenticationContext
    {
        bool CheckAuthenticationAndAuthorization(Uri targetUri, Uri currentUri);

        bool ShowLoginBoxWhenUnauthorized { get; set; }

        DependencyObjectCollection<UriRightMapping> UriRightMappings { get; set; }

        IPrincipal User { get; set; }
    }
}
